test: unencoded subpath cannot contain . or ..#368
test: unencoded subpath cannot contain . or ..#368jkowalleck merged 4 commits intopackage-url:mainfrom
Conversation
supercedes package-url#52 Signed-off-by: Jeremy Long <jeremy.long@gmail.com>
|
I'm wondering if this is actually a good idea. I can agree that the subpath should not contain |
why? i mean, this is already part of the spec:
per spec, the |
|
Then these tests are wrong, right? They have |
This comment was marked as outdated.
This comment was marked as outdated.
My problem is that a human reading The same could be said for |
this would be a change of the current spec. |
|
Sorry to comment on a closed pull request, but the After the segments are dropped, the resulting |
please open a pull request or annotate the code you are referring to. please be aware of the purpose of the test components:
|
|
Opened #404 with an explanation. |
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
This change makes the two test pass that were introduced in package-url/purl-spec#368. See also package-url/purl-spec#404.
Add test cases to check for invalid
.and..segments in the subpath.